#导包
import time
from selenium import webdriver
from selenium.webdriver.common.by import By
#创建驱动
driver = webdriver = webdriver.Edge()

time.sleep(3)

#访问百度
driver.get("https://www.baidu.com")
time.sleep(3)
#定位“地图”链接，并点击
driver.find_element(By.LINK_TEXT,"地图").click()
time.sleep(3)


#休息5秒
time.sleep(50)
#退出
driver.quit()
